package com.dhecp.project.business.service;

import com.dhecp.common.core.domain.AjaxResult;
import com.dhecp.project.business.domain.ProductCarefullyChosen;

import java.util.List;
import java.util.Map;

public interface ProductCarefullyChosenService {


    /**
     * 查询商品库
     * @param params
     * @return List - ProductActive
     * @throws Exception
     * @author DH-Xxj
     */
    List<ProductCarefullyChosen> queryDataList(Map<String, Object> params) throws Exception;

    /**
     * 查询商品库
     * @param params
     * @return List - ProductActive
     * @throws Exception
     * @author DH-Xxj
     */
    ProductCarefullyChosen findByCode(String code);

    /**
     * 查询
     */
    List<ProductCarefullyChosen> listByCodeMerge(String codeMerge);


    /**
     * 新增商品库
     * @param productActiveItems 必要参数：商品库对应实体类（ProductActive）的json格式字符串
     * @return
     * @author DH-Xxj
     */
    AjaxResult saveData(Map<String, Object> params);

	/**
	 * 导入产品信息至逸思精品表
	 * @param rows 必要参数：实体类（ProductCarefullyChosen）的json格式字符串
	 * @return MessageModel
	 * @author DH-Xxj
	 */
	AjaxResult importBatch(Map<String, Object> params);
}
